package com.xuecheng.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuecheng.system.entity.CourseCategory;
import com.xuecheng.system.entity.Dictionary;
import com.xuecheng.system.entity.ex.CourseCategoryNode;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CourseCategoryMapper extends BaseMapper<CourseCategory> {

    /**
     * 查询树形结构数据
     * @return
     */
    List<CourseCategoryNode> queryThreeNodes();
}
